package com.zhangtai.modules.entity.employee;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

	

/**
 * 
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-09-01 11:37:08
 */
@Data
@TableName("tb_dimission_settlement")
public class DimissionSettlementEntity implements Serializable {
	private static final long serialVersionUID = 1L;

			/**
		 * 
		 */
				@TableId
		@JsonDeserialize(using = LongJsonDeserializer.class)
		@JsonSerialize(using = LongJsonSerializer.class)
			private Long id;
			/**
		 * 流程编号
		 */
			private String processNumber;
			/**
		 * 申请人id
		 */
			@JsonDeserialize(using = LongJsonDeserializer.class)
			@JsonSerialize(using = LongJsonSerializer.class)
			private Long applyOid;
			/**
		 * 申请人code
		 */
			private String applyCode;
			/**
		 * 申请人名字
		 */
			private String applyName;
			/**
		 * 申请日期
		 */
			private Date applyTime;
			/**
		 * 部门id
		 */
			@JsonDeserialize(using = LongJsonDeserializer.class)
			@JsonSerialize(using = LongJsonSerializer.class)
			private Long applyDepId;
			/**
		 * 部门
		 */
			private String applyDepartment;
			/**
		 * 离职申请id
		 */
			@JsonDeserialize(using = LongJsonDeserializer.class)
			@JsonSerialize(using = LongJsonSerializer.class)
			private Long dimissionId;
			/**
		 * 离职原因
		 */
			private String remark;
			/**
		 * 0:正常。1：删除
		 */
			private Integer isDelete;
			/**
		 * 创建时间
		 */
			private Date createTime;
			/**
		 * 附件地址
		 */
			private String annexUrl;

	/**
	 * 审批状态 0 待审批 1审批中 2已审批 3 作废
	 */
	private Integer status;

	/**
	 * bpm详情
	 */
	private String bpmDetailUrl;


	/**
	 * bpm类型  默认7
	 */
	private Integer sptype;

	/**
	 * 处理状态  1未处理  2已处理
	 */
	private Integer processingStatus;

	/**
	 * 原因
	 */
	private String reason;

}
